package ps;

import ps.client.net.ClientPacketHandler;
import ps.server.net.PsServerSocket;


public class Test {

    public static void connectClients() throws Exception {
        for (int i = 0; i < 30; i++) {
            ClientPacketHandler packetHandler = new ClientPacketHandler();
            packetHandler.login("46.163.76.112", PsServerSocket.DEF_SERVER_PORT, "" + i, "");
//            packetHandler.login("46.163.75.168", PsServerSocket.DEF_SERVER_PORT, "" + i, "");
//            packetHandler.login("instanceof.de", PsServerSocket.DEF_SERVER_PORT, "" + i, "");
//            packetHandler.login("vmeps.dyndns.org", PsServerSocket.DEF_SERVER_PORT, "" + i, "");
//            packetHandler.login("localhost", PsServerSocket.DEF_SERVER_PORT, "" + i, "");
            Thread.sleep(500);
        }
        
        Thread.sleep(1000000);
    }

    public static void main(String[] args) throws Exception {
        connectClients();
    }

}
